package com.hyh.core;

import com.hyh.log.annotation.EnableHyhLog;
import com.hyh.minio.annotation.EnableHyhMinIo;
import com.hyh.mongodb.annotation.EnableHyhMongoDB;
import com.hyh.quartz.annotation.EnableHyhQuartz;
import com.hyh.redis.annotation.EnableHyhRedis;
import com.hyh.rocketmq.annotation.EnableHyhRocketMq;
import com.hyh.sso.annotation.EnableHyhSSO;
import com.hyh.websocket.annotation.EnableHyhWebSocket;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * hyh-boot应用程序入口类
 *
 * @Author: heyuhua
 * @Date: 2021/1/6 15:18
 */
@SpringBootApplication
@EnableScheduling
@EnableCaching
@EnableHyhLog//log
@EnableHyhRocketMq//rocketmq
@EnableHyhWebSocket//websocket
@EnableHyhQuartz//quartz
@EnableHyhMinIo//minio
@EnableHyhMongoDB//mongodb
@EnableHyhRedis//reids
@EnableHyhSSO//sso
public class HyhBootApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(HyhBootApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(HyhBootApplication.class, args);
        LOGGER.info("---hyh-boot is start---");
    }
}
